<?php

class IndexAction extends Action
{

    public function index()
    {
        $this->display(APP_PATH . '/static/scdc/admin.html');
    }

    public function article()
    {
        $id = $_GET['id'];
        $this->data = D(JH_ARTICLE)->field('content,title')->find($id);
        $this->display();
    }
}
